<template>
  <div>
    <mt-picker :slots="slots" @change="onValuesChange"></mt-picker>
  </div>
</template>

<script>
  export default {
    name: "ServicePicker",
    data: function () {
      return {
        slots: [
          {
            flex: 1,
            values: ['高世洪','刘小光', '刘旭辉', '敏姐','陈小芳','张美美'],
            className: 'slot1',
            textAlign: 'center'
          }]
      }
    },
    methods: {
      onValuesChange(picker, values) {
        this.$emit('showServicePicker',values[0]);
      }
    },
  }
</script>

<style scoped>

</style>
